GeminiLabs\SiteReviews\Controllers\ReviewController A

Total Complexity 68
Dependencies 24
Dependents 1
Total lines 413
Lines of code 274
Logical lines of code 165
Comment lines 107
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
onAfterChangeStatus()
A
49 9 29
filterReviewPostData()
S
57 7 16
onEditReview()
S
56 6 17
onCreateReview()
S
49 5 28
sendNotification()
S
61 4 12
updateReview()
S
52 3 23
onDeletePost()
S
58 3 16
isEditedReview()
S
62 4 10
refreshAvatar()
S
61 3 12
filterReviewTemplate()
S
61 3 12
bulkUpdateReview()
S
62 3 10
getAssignedDiffs()
S
60 2 14
onDeleteUser()
S
61 2 12
onUnapprove()
S
61 2 12
onApprove()
S
62 2 11
onAfterChangeAssignedTerms()
S
65 2 8
filterPostsToCacheReviews()
S
67 2 7
filterSqlClauseOperator()
S
73 1 4
onDeleteReview()
S
80 1 3
filterTemplateTags()
S
75 1 4
onCreatedReview()
S
75 1 4
onChangeAssignedUsers()
S
71 1 5
onChangeAssignedPosts()
S
71 1 5